package com.runvp.common.enums;


/**
 * 续费状态(normal:正常,expire:到期)
 * @author xukk_dp
 */

public enum RenewStatus implements BaseEnumInterface {

    NORMAL("normal", "正常"),
    EXPIRE("expire", "到期");

    private final String code;
    private final String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    RenewStatus(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    RenewStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
